package com.cc.pms.service;

import com.cc.common.core.domain.R;
import com.cc.pms.domain.UserChat;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cc.pms.domain.vo.UserChatVo;

import java.util.List;

/**
 * <p>
 * 存储用户之间的聊天记录 服务类
 * </p>
 *
 * @author corleone
 * @since 2025-04-19
 */
public interface IUserChatService extends IService<UserChat> {


    List<UserChatVo> queryMineChatList();


    List<UserChatVo> queryMineChatDetail(Long receiverId);


    R<Long> sendChat(UserChat userChat);

}
